package cn.houserent.pojo;

import java.util.HashSet;
import java.util.Set;

/**
 * District entity. @author MyEclipse Persistence Tools
 */

public class District implements java.io.Serializable {

    // Fields

    private Short id;
    private String name;

    // Constructors

    /** default constructor */
    public District() {
    }

    /** minimal constructor */
    public District(Short id, String name) {
        this.id = id;
        this.name = name;
    }

    // Property accessors

    public Short getId() {
        return this.id;
    }

    public void setId(Short id) {
        this.id = id;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }
}